Problem Note 34949: The SAS® Data Integration Studio transformation "Create or Add to a Cluster" generates ERROR 22-322
When you use the SAS Data Integration Studio transformation Create or Add to a Cluster, invalid syntax is generated. This problem occurs if the SAS SPD (Scalable Performance Data) Server target-table option Enable special characters within DBMS object names is checked. When generating code to query for details about the target table, SAS Data Integration Studio fails to remove the quotation marks from the table name before quoting the string. The inner quotation marks and "n" should not be present in the memname= comparison string below:
27 proc sql;
28 create table work.SPDSTMP as
29 select memname length = 32
30 from dictionary.tables
31 where upcase(libname) = %upcase("&etls_libref") and
32 upcase(memname) ^= %upcase("&etls_outdsn");
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
NOTE: Line generated by the macro variable "ETLS_OUTDSN".
32 ""GEOGRAPHY_DIM"n
49
NOTE: Line generated by the macro function "UPCASE".
32 ""GEOGRAPHY_DIM"N"
49
_____________
22
76
The only workaround is to edit the generated code and register it as user written.
Operating System and Release Information
SAS System | SAS Data Integration Studio | Microsoft® Windows® for x64 | 3.4 | 4.21_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows 2000 Advanced Server | 3.4 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 3.4 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 3.4 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 3.4 | | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 3.4 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 3.4 | 4.21_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 3.4 | 4.21_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 3.4 | 4.21_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows XP Professional | 3.4 | 4.21_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Windows Vista | 3.4 | 4.21_M2 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
A syntax error occurs if the target SPD Server table of a
Create or Add to Cluster transformation has the option
Enable Special Characters within DBMS object names selected.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-06-22 09:45:21 |
Date Created: | 2009-02-25 14:27:37 |